{css style/canbo-thuyenchuyen.css}
{js scripts/canbo-tc.js}
<div class="content-wrap">
    <div id="thongtin">
        <h3>Thông tin cán bộ và bộ phận hiện tại</h3>
        <table class="table table-bordered table-striped" id="canbo-info-old">
            <tr>
                <td>Mã cán bộ</td>
                <td>{$cb_id}</td>
            </tr>
            <tr>
                <td>Tên cán bộ</td>
                <td>{$cb_hoten}</td>
            </tr>
            {if canbohanhchinh}
            <tr>
                <td>Nghiệp vụ</td>
                <td>{$cb_nghiepvu|}</td>
            </tr>
            <tr>
                <td>Phòng ban</td>
                <td>{$cb_phongban|}</td>
            </tr>
            {else canbohanhchinh}
            <tr>
                <td>Chức danh</td>
                <td>{$cb_chucdanh|}</td>
            </tr>
            <tr>
                <td>Bộ môn</td>
                <td>{$cb_bomon|}</td>
            </tr>
            <tr>
                <td>Khoa</td>
                <td>{$cb_khoa|}</td>
            </tr>
            {/if canbohanhchinh}
            <tr>
                <td>Chức vụ</td>
                <td>{$cb_chucvu|}</td>
            </tr>
        </table>
    </div>
    <div id="thuyenchuyen">
        <h3>Thuyên chuyển cán bộ</h3>

        <div class="function">
            <a href="giangday" id="giangday_link" class="current swapForm">Cán bộ giảng dạy</a>
            <a href="hanhchinh" id="hanhchinh_link" class="swapForm">Cán bộ hành chính</a>
        </div>

        <form action="/canbo/process" method="post" class="form-horizontal" id="giangday_form">
            <div class="control-group">
                <label class="control-label" for="cd_id">Chức danh</label>

                <div class="controls">
                    <input type="hidden" id="cd_id_state" value="{$cd_id}">
                    <select name="cd_id" id="cd_id">
                        {loop chucdanh}
                        <option value="{$cd_id}">{$cd_mota}</option>
                        {/loop chucdanh}
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="k_id">Khoa</label>

                <div class="controls">
                    <input type="hidden" id="dv_id_state" value="{$dv_id}">
                    <select name="k_id" id="k_id">
                        {loop khoa}
                        <option value="{$k_id}">{$k_ten|}</option>
                        {/loop khoa}
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="bm_id">Bộ môn</label>

                <div class="controls">
                    <select name="bm_id" id="bm_id">

                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="cv_id">Chức vụ</label>

                <div class="controls">
                    <input type="hidden" id="cv_id_state" value="{$cv_id}">
                    <select name="cv_id" id="cv_id">
                        {loop chucvu}
                        <option value="{$cv_id}">{$cv_mota}</option>
                        {/loop chucvu}
                    </select>
                </div>
            </div>

            <div class="control-group buttons">
                <input type="hidden" name="cb_id" value="{$cb_id}">
                <input type="hidden" name="type" value="thuyenchuyen_giangday">
                <a href="/quanly/canbo">Quay về trang quản lý</a>
                <button class="btn" type="submit" name="submit">Đồng ý</button>
            </div>
        </form>
        <form action="/canbo/process" method="post" class="form-horizontal" id="hanhchinh_form">

            <div class="control-group">
                <label class="control-label" for="nv_id">Nghiệp vụ</label>

                <div class="controls">
                    <input type="hidden" id="nv_id_state" value="{$nv_id}">
                    <select name="nv_id" id="nv_id">
                        {loop nghiepvu}
                        <option value="{$nv_id}">{$nv_mota}</option>
                        {/loop nghiepvu}
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="dv_id">Phòng ban</label>

                <div class="controls">
                    <select name="pb_id" id="pb_id">
                        {loop phongban}
                        <option value="{$pb_id}">{$pb_ten|}</option>
                        {/loop phongban}
                    </select>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label" for="cv_id">Chức vụ</label>

                <div class="controls">
                    <input type="hidden" id="cv_id_state" value="{$cv_id}">
                    <select name="cv_id" id="cv_id">
                        {loop chucvu}
                        <option value="{$cv_id}">{$cv_mota}</option>
                        {/loop chucvu}
                    </select>
                </div>
            </div>

            <div class="control-group buttons">
                <input type="hidden" name="cb_id" value="{$cb_id}">
                <input type="hidden" name="type" value="thuyenchuyen_hanhchinh">
                <a href="/quanly/canbo">Quay về trang quản lý</a>
                <button class="btn" type="submit" name="submit">Đồng ý</button>
            </div>
        </form>
    </div>
</div>